<f:view xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:fn="http://java.sun.com/jsp/jstl/functions"
        xmlns:g="http://code.google.com/p/ada-ado/generator"
        xmlns:f="http://java.sun.com/jsf/core"
        file="configure.in">dnl Autoconf configure script for #{projectName}

dnl Process this file with autoconf to produce a configure script.

AC_INIT(src/#{projectName}.ads)

AC_CANONICAL_SYSTEM
dnl AM_MAINTAINER_MODE

# Current release settings
#{fn:toUpperCase(projectName)}_MAJOR_VERSION=0
#{fn:toUpperCase(projectName)}_MINOR_VERSION=1
#{fn:toUpperCase(projectName)}_MICRO_VERSION=0
#{fn:toUpperCase(projectName)}_VERSION=$#{fn:toUpperCase(projectName)}_MAJOR_VERSION.$#{fn:toUpperCase(projectName)}_MINOR_VERSION.$#{fn:toUpperCase(projectName)}_MICRO_VERSION

# checking for local tools
AC_PROG_CC
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PROG_LN_S

AC_CHECK_PROGS(GNATMAKE, gnatmake, "")

# Set the version number of GtkAda
AC_SUBST(#{fn:toUpperCase(projectName)}_VERSION)
AC_SUBST(#{fn:toUpperCase(projectName)}_MAJOR_VERSION)
AC_SUBST(#{fn:toUpperCase(projectName)}_MINOR_VERSION)
AC_SUBST(#{fn:toUpperCase(projectName)}_MICRO_VERSION)

EXEC_PREFIX="$prefix"
AC_SUBST(EXEC_PREFIX)

#{fn:toUpperCase(projectName)}_LIBDIR="lib"
AC_SUBST(#{fn:toUpperCase(projectName)}_LIBDIR)

AC_OUTPUT(
Makefile #{projectName}.gpr rules.mk
)
</f:view>